/**  
 * 
 * @Title:  UserpercentModel.java   
 * @Package com.bicon.base.data.util   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: 123774135@qq.com     
 * @date:   2018年8月7日 上午8:53:07   
 * @version V1.0 
 * @Copyright: 2018 www.tydic.com Inc. All rights reserved. 
 * 
 */  
package com.bicon.base.data.util;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.bicon.base.data.common.tools.JsonUtil;

/**   
 * @ClassName:  UserpercentModel   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: 123774135@qq.com 
 * @date:   2018年8月7日 上午8:53:07   
 *     
 * @Copyright: 2018 
 * 
 */
@Document(collection = "personal_health_score")
public class UserpercentModel implements java.io.Serializable{

	/**   
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)   
	 */ 
	private static final long serialVersionUID = -2124863973279380430L;
	
	
	
	
	private String score;

	
	private String userid;
	
	private String percent;
	
	private String tag;
	
	private String date;
	
	
	
	public UserpercentModel() {
		this.tag = "percent";
	}
	
    public UserpercentModel(String score,String userid) {
		this.score = score;
		this.userid =  userid;
		this.tag = "percent";
	}
	
    
    
	

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return JsonUtil.objectToJson(this);
	}
	
	

}
